package com.letoken.platform.repo.app.req.mall;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value = "修改评价", description = "修改评价对象")
public class ModifyEvaluateReq implements Serializable {




    @ApiModelProperty(value = "评价ID")
    @NotNull(message = "80000007")
    private Integer id;

    @ApiModelProperty(value = "评分")
    @NotNull(message = "80000007")
    private Float score;

    @ApiModelProperty(value = "0=匿名 1=非匿名")
    @NotNull(message = "80000007")
    private Integer anonymous;

    @ApiModelProperty(value = "评价内容")
    @NotNull(message = "80000007")
    private String content;



}
